Repository navigation
Conversation
The image now installs requirements.lock with --require-hashes instead of whatever is newest on the day of the build. `make lock` re-resolves requirements.txt inside the image's own Python and rewrites the lock. The lock holds the 68 versions the production container already runs, so this changes no behaviour. Verified: an image built from the lock has the same pip freeze as the running container and passes the 59 tests; a lock with a wrong hash fails the build. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The workflow pinned 2021 versions that no longer work: pre-commit/action used a cache API GitHub has retired, and the isort, black and bandit hooks no longer install into a fresh environment. Actions move to their current major versions, the hooks run through plain pre-commit, and the three hooks move to the oldest release that still installs (no file is reformatted). The test job moves to Python 3.14, the version the image uses. The bandit assert skip now matches the path form current bandit reports. Verified locally: all hooks pass from an empty pre-commit cache. Not verified locally: the workflow itself. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #42 +/- ##
==========================================
+ Coverage 91.18% 91.39% +0.21%
==========================================
Files 19 19
Lines 1373 1395 +22
Branches 161 81 -80
==========================================
+ Hits 1252 1275 +23
- Misses 91 92 +1
+ Partials 30 28 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits on top of main:
requirements.lockwith--require-hashes.make lockrefreshes it.pre-commit, andisort,blackandbanditmove to the oldest release that still installs. The test job moves to Python 3.14, the version the image uses.This pull request exists to run the workflow before it lands on main, where a green run also publishes the image.
🤖 Generated with Claude Code